Skip to content
This repository has been archived by the owner on Mar 14, 2024. It is now read-only.

VER-3: depencies update and cypress removal. #11

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Conversation

n3op2
Copy link
Contributor

@n3op2 n3op2 commented Jun 12, 2023

What

Dependencies update, however sticking with react 17 as we agreed

  • removed cypress and tests
  • react v17
diff --git a/src/__tests__/App.test.js b/src/__tests__/App.test.js
-import React from 'react'
-import { mount } from '@cypress/react'
-import App from '../components/Core/AppCore'
-
-describe('App.js', () => {
-  beforeEach(() => {
-    mount(<App />)
-  })
-
-  it('renders App component', () => {
-    cy.get('[data-cy=app-core]').should('exist').contains('Authority')
-  })
-})
# diff --git a/package.json b/package.json
-    "node": "16.x.x",
-    "npm": "8.x.x"
+    "node": "18.x.x",
+    "npm": "9.x.x"
-    "moment": "^2.29.1",
+    "moment": "^2.29.4",
-    "react-scripts": "^5.0.0"
+    "react-scripts": "^5.0.1"
-    "@babel/eslint-parser": "^7.17.0",
-    "@babel/preset-react": "^7.16.7",
-    "@cypress/react": "^5.12.4",
-    "@cypress/webpack-dev-server": "^1.8.3",
-    "cypress": "^9.5.2",
-    "eslint": "^8.10.0",
-    "eslint-config-prettier": "^8.5.0",
-    "eslint-plugin-cypress": "^2.12.1",
-    "eslint-plugin-import": "^2.25.4",
+    "@babel/eslint-parser": "^7.21.8",
+    "@babel/preset-react": "^7.22.3",
+    "eslint": "^8.42.0",
+    "eslint-config-prettier": "^8.8.0",
+    "eslint-plugin-import": "^2.27.5",
-    "eslint-plugin-prettier": "^4.0.0",
-    "eslint-plugin-promise": "^6.0.0",
-    "eslint-plugin-react": "^7.28.0",
-    "husky": "^4.3.8",
-    "lint-staged": "^12.3.3",
-    "prettier": "^2.5.1"
+    "eslint-plugin-prettier": "^4.2.1",
+    "eslint-plugin-promise": "^6.1.1",
+    "eslint-plugin-react": "^7.32.2",
+    "husky": "^8.0.3",
+    "lint-staged": "^13.2.2",
+    "prettier": "^2.8.8"

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant